<?php
    $conn_res =  mysql_pconnect($db_host,$db_user,$db_pass);
    if (!$conn_res) {
      die('Not connected : ' . mysql_error());
    } else {
      if(!mysql_select_db($db_database)) {
        die( "Unable to select database");
      }
    }
?>
